package com.platform.mvc.good;

import org.apache.log4j.Logger;

import com.jfinal.aop.Enhancer;

import com.platform.mvc.base.BaseService;
import com.platform.mvc.operator.Operator;

public class GoodService extends BaseService {

	@SuppressWarnings("unused")
	private static Logger log = Logger.getLogger(GoodService.class);
	
	public static final GoodService service = Enhancer.enhance(GoodService.class);
	
	/**
	 * 更新
	 * @param operator
	 */
	public void update(Good good){
		// 更新
		good.update();
		//String ids = good.getPKValue();
		
		// 缓存
		//Operator.dao.cacheAdd(ids);
	}
}
